<?php
require_once 'init.php';

$view=CoreFactory::view();
$oauth2=CoreFactory::session()->get('oauth2');
$c=new SaeTClientV2(WB_AKEY,WB_SKEY,$oauth2['oauth_token'] ,'');
$user=$c->show_user($oauth2['user_id']);
print_r($user);
$view->c=$c;
$view->render('home');
